package com.wlsk.license.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 渠道订单信息表
 * </p>
 *
 * @author admin
 * @since 2025-10-17
 */
@Getter
@Setter
@TableName("cl_channel_order")
@ApiModel(value = "ChannelOrder对象", description = "渠道订单信息表")
public class ChannelOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("渠道单号, 关联对应渠道的业务单号")
    @TableField("channel_business_id")
    private String channelBusinessId;

    @ApiModelProperty("渠道编号")
    @TableField("channel_number")
    private String channelNumber;

    @ApiModelProperty("订单内容实体ChannelOrderDetail")
    @TableField("order_json")
    private String orderJson;

    @ApiModelProperty("第三方返回的值")
    @TableField("base_json")
    private String baseJson;


    @ApiModelProperty("注销标识, '0' = 正常, '1' = 删除")
    @TableField("del_flag")
    private String delFlag;

    @ApiModelProperty("登记时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("最后修改时间")
    @TableField("update_time")
    private Date updateTime;
}
